package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 应急信息
 对象 tmc_emergency_attach
 *
 * @author ruoyi
 * @date 2021-04-08
 */
public class TmcEmergencyAttach extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 应急信息ID */
    @Excel(name = "应急信息ID")
    private Long emergencyId;

    /** 附件路径 */
    @Excel(name = "附件路径")
    private String attachUrl;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setEmergencyId(Long emergencyId)
    {
        this.emergencyId = emergencyId;
    }

    public Long getEmergencyId()
    {
        return emergencyId;
    }
    public void setAttachUrl(String attachUrl)
    {
        this.attachUrl = attachUrl;
    }

    public String getAttachUrl()
    {
        return attachUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("emergencyId", getEmergencyId())
                .append("attachUrl", getAttachUrl())
                .toString();
    }
}